let a = [1, 2, 3, 4, 5]

let iter = a[Symbol.iterator]()

for (let i of iter) {
  console.log(i)
  if (i > 2) {
    break;
  }
}

console.log('***********')

for (let i of iter) {
  console.log(i)
}    